copyChildrenInto

suspend fun copyChildrenInto(destDir: Path, recursive: Boolean = true, force: Boolean = true)

Copy this directory's children into the directory destDir, creating it if it does not exist.

Parameters

recursive

whether to recursively copy children. Note that this applies to this directories children, not to itself.

force

whether to overwrite files in destDir. A false value is sometimes ignored, do not rely on.

Sources

js source
Link copied to clipboard